package com.itheima.health.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.health.model.pojos.CheckGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

@Mapper
public interface CheckGroupDao extends BaseMapper<CheckGroup> {
    void insertIntoGroupAndItem(@Param("checkitemIds") ArrayList<Integer> checkitemIds,@Param("checkGroupId") int checkGroupId);

    void deleteGroupAndItem(Integer id);

    int findGroupRelationById(Integer id);
}
